package cn.tedu.hotel.serve.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class UserOrdersListVO implements Serializable {
    private Long id;
    private String username;
    private String hotelName;
    private String roomName;

    private Long hotelId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkInTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime departureTime;
    private Integer countOfBuyRooms;
    private BigDecimal orderPrice;
    private LocalDateTime createTime;

    //新增数据:状态
    private String currentState;

    //新增数据:酒店地址
    private String location;

    //新增数据:酒店图片
    private String url;

    //订单状态：是否已支付
    private String orderState;
}
